<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="content-type"content="text/html; charset=UTF-8" />
</head>
<body>
<?php  # Script -- test.php

/* Author @ Huoty
 *   Date @ 2015-01-27 15:17:39
 *  Brief @ 
 */

// Include the class definition:
require_once("HelloWorld.php");

// Create the object:
$obj = new HelloWorld();

// Call the say_hello() method:
$obj->say_hello();

// Say hello in different languages:
$obj->say_hello("Italian");
$obj->say_hello("Dutch");
$obj->say_hello("French");

// Delete the object:
unset($obj); // 这一步可以不做，在脚本退出后，对象会自动被删除
?>
</body>
</html>
